home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 11 / Mac Magazin and MacEasy Magazine CD - Issue 11.iso / Sharewarebibliothek / Entwickler / nShell-Pro / bin / find / find.rsrc / TEXT_16000_man general.txt < prev    next >
Text File  |  1994-11-27  |  893b  |  43 lines

  1.  
  2. NAME
  3.  
  4. find - search for files
  5.  
  6. SYNOPSIS
  7.  
  8. find pathname [pathname...] [-name 'pattern'] [-o] [-type 'type'] [-a] [-creator 'crea']
  9.  
  10. DESCRIPTION
  11.  
  12. Search all directories below a given pathname for matching files.  The search options allow logical expressions to be developed.  For example,  the following command will search "my_path" for all files who's names start with "sample" or "demo".
  13.  
  14. find my_path -name '[sS]ample*' -o -name '[dD]emo*'
  15.  
  16. If no relation between expressions is defined, an implied "and" is used.
  17.  
  18. OPTIONS
  19.  
  20. -name 'pattern'
  21.  
  22. The match is true if the name matches the given pattern.
  23.  
  24. -o
  25.  
  26. The match is successful if the previous condition is true.
  27.  
  28. -type 'type'
  29.  
  30. The match is true if the file is of the given type.
  31.  
  32. -a
  33.  
  34. The match fails if the previous condition is false.
  35.  
  36. -creator 'crea'
  37.  
  38. The match is true if the file has the given creator.
  39.  
  40. RETURN CODES
  41.  
  42. <0    Error
  43. 0    Success